package com.stgy.lease.web.api.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.stgy.lease.model.domain.LeaseAgreement;
import com.stgy.lease.web.api.vo.AgreementDetailVo;
import com.stgy.lease.web.api.vo.AgreementItemVo;
import jakarta.servlet.http.HttpServletRequest;

import java.util.List;

/**
* @author lingx
* @description 针对表【lease_agreement(租约信息表)】的数据库操作Service
* @createDate 2024-08-28 11:00:29
*/
public interface LeaseAgreementService extends IService<LeaseAgreement> {

    //获取个人租约基本信息列表
    List<AgreementItemVo> listItem(String token, HttpServletRequest request);

    //根据id获取租约详细信息
    AgreementDetailVo getDetailById(Long id);
}
